package LekeU;

import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;

import com.jmoney.luckeylink.handler.LekeU_ApplyKey_Handler;
import com.jmoney.luckeylink.handler.LekeU_MyCommunity_Handler;
import com.jmoney.luckeylink.handler.LekeW_AuthorizeKey_Handler;

public class LekeU_MyCommunity {
     
    @BeforeTest
	private void Stup() throws Exception{
    	LekeU_ApplyKey_Handler.InitializeExcelData();
    	LekeW_AuthorizeKey_Handler.InitializeExcelData();
    	LekeU_MyCommunity_Handler.InitializeExcelData();
    }
    
    @Test
	public void Case1() throws Exception{
//    	LekeU_ApplyKey_Handler.Apply(1);
    	LekeW_AuthorizeKey_Handler.AuthorizeKey(2);
    	LekeU_MyCommunity_Handler.MyCommunity(1);	
	}

	@AfterTest
	public void TearDown() throws Exception{
		LekeU_MyCommunity_Handler.GetCaseInfo(1);
	}
}